import { hide } from "@popperjs/core";


export const tableOption = {
  labelPosition: 'right',
  labelWidth: 110,
  border: true,
  index: true,
  indexLabel: '序号',
  emptyBtn: true,
  emptyText: '清空',
  indexWidth: 60,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  dialogWidth:'50%',
  searchMenuPosition: 'left',
  searchLabelWidth: 'auto',
  column: [
    {
      type: 'input',
      label: '应用页面路由',
      prop: 'pageUrl',
      order: 2,
      rules:[{
        required: true,
        message: '路由必须填写',
        trigger: 'blur'
      }],
    },
    {
      type: 'input',
      label: '页面配置',
      hide: true,
      prop: 'relList'
    },
    {
      type: 'input',
      label: '页面组件配置',
      prop: 'compNames',
      addDisplay: false,
      editDisplay: false
    },
    {
      type: 'textarea',
      label: '备注',
      order: 1,
      prop: 'description',
    }
  ]
}
